package com.rayenterprise.kms.client.remote;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.rayenterprise.kms.domain.KInfo;

public interface InfoRemoteAsync {

	void getAll(AsyncCallback<List<KInfo>> callback);

	void getInfo(int infoId, AsyncCallback<KInfo> callback);

	void save(KInfo info, AsyncCallback<KInfo> callback);

	void deleteInfo(KInfo info, AsyncCallback<Void> callback);

}
